extends "../cTDM_2_1/cTDM_2_1.gd"
func _info():
	pass

func _connect():
	._connect()
var baseId = ""
func _extInit():
	._extInit()

	lv = 4
	attCoe.atk *=1.5
	attCoe.maxHp *= 1.5
	addCdSkill("hf2",15)
	addSkillTxt("烈火：对敌方全体附加1层<烈火燃烧>[cd:15秒];若敌人生命值低于10%，<火柱燃烧>伤害将直接把敌人燃尽")
	flag1 = true
	
func _castCdSkill(id):
	._castCdSkill(id)
	if id == "hf2" :
		cst("烈火","000000",position)
		var chas = getAllChas(1)
		for i in chas:
			if i != null: 
				hpline = i.att.maxHp * 0.1
				i.addBuff(BF2.new(1,hpline,self,flag1))